$.loadScript( "js/Ajax.js" );

function AjaxFactory(){
    
    var m_requests = {
            
        get_info : new Ajax().create({
            
            path:       "./php/app/app_info.php",
            success:    function(data){ console.log(data); },
            failure:    function(data){ console.log("Ajax failure"); }
            
        })
    };
    
    this.get = function( key ){
        
        return m_requests[ key ];
    };
        
   return this;
}
